package com.special.controller;

import org.springframework.context.annotation.Bean;

/**
 * @Description:
 * @author: LiuYC
 * @date: 2021年04月23日 18:04
 */
@org.springframework.context.annotation.Configuration
public class Configuration {

    @Bean
    public UserDao userDao() {
        UserDao userDao = new UserDao();
        System.out.println("我是在configuration中的"+userDao);
        return userDao;
    }

}
